projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e813003
)
Fix diagnosis of unhandled exceptions.
author
Ewan Mellor
<ewan@xensource.com>
Wed, 28 Mar 2007 09:04:32 +0000
(10:04 +0100)
committer
Ewan Mellor
<ewan@xensource.com>
Wed, 28 Mar 2007 09:04:32 +0000
(10:04 +0100)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/main.py
b/tools/python/xen/xm/main.py
index 87f5ae29a8510f9be8d0f1d3c6823eb18a516dac..77d647f4026f4c1035767795d792715bcd834c42 100644
(file)
--- a/
tools/python/xen/xm/main.py
+++ b/
tools/python/xen/xm/main.py
@@
-2371,11
+2371,10
@@
def _run_cmd(cmd, cmd_name, args):
if isinstance(e, security.ACMError):
err(str(e))
return False, 1
- else:
- print "Unexpected error:", sys.exc_info()[0]
- print
- print "Please report to xen-devel@lists.xensource.com"
- raise
+ print "Unexpected error:", sys.exc_info()[0]
+ print
+ print "Please report to xen-devel@lists.xensource.com"
+ raise
return False, 1